package com.gl.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件信息表
 * </p>
 *
 * @author lsy
 * @since 2021-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@TableName("t_file")
public class TFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 路径
     */
    @TableField("path")
    private String path;

    /**
     * 文件名称
     */
    @TableField("name")
    private String name;

    /**
     * 上传时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 文件后续
     */
    @TableField("ext")
    private String ext;

    /**
     * 文件后续
     */
    @TableField("folder")
    private String folder;

    /**
     * 根路径
     */
    @TableField("root_path")
    private String rootPath;


}
